package PO;

import java.io.Serializable;
import java.util.ArrayList;

import User.*;
@SuppressWarnings("serial")
public class GeneralManagerListPO extends UserPO implements Serializable{
	ArrayList<GeneralManagerPO> GeneralManagerlist=new ArrayList<GeneralManagerPO>();
	
	public GeneralManagerListPO(ArrayList<GeneralManagerPO> glist){
		GeneralManagerlist=glist;
	}
	
	public GeneralManagerListPO(GeneralManagerList sl){
		for(GeneralManager b:sl.getGeneralManagerlist()){
			GeneralManagerPO po=new GeneralManagerPO(b);
			GeneralManagerlist.add(po);
		}
	}
	
	public ArrayList<GeneralManagerPO> getGeneralManagerList(){
		return GeneralManagerlist;
	}
}

